﻿<phone:PhoneApplicationPage 
    x:Class="FinanceCalculators.Views.HomeInsurance.HomeInsurance"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="696" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
            <TextBlock x:Name="ApplicationTitle" Text="Home Buyer Tools" Style="{StaticResource PhoneTextNormalStyle}"/>
            <TextBlock x:Name="PageTitle" Text="Home Insurance" Margin="9,-7,0,0" FontSize="45"/>
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="279*" />
            </Grid.RowDefinitions>
            <StackPanel Orientation="Horizontal" Grid.Row="0">
                <TextBlock  Text="Dwelling Type" Margin="0,10,0,0" FontSize="25"  />
                <toolkit:ListPicker  x:Name="ListPicker"  Width="200" Margin="30,0,0,0">
                    <ListBoxItem Content="Home" ></ListBoxItem>
                    <ListBoxItem Content="Rental" ></ListBoxItem>
                    <ListBoxItem Content="Cando" ></ListBoxItem>
                </toolkit:ListPicker>
            </StackPanel>
            <StackPanel Grid.Row="1" Orientation="Horizontal">
                <TextBlock Text="Yor Age" Margin="0,10,0,0" FontSize="25" Width="104" />
                <toolkit:ListPicker   x:Name="ListPicker1" Width="200" Margin="82,0,0,0">
                    <ListBoxItem Content="18-22years" ></ListBoxItem>
                    <ListBoxItem Content="23-30years" ></ListBoxItem>
                    <ListBoxItem Content="31-65years" ></ListBoxItem>
                    <ListBoxItem Content="Greater65years" ></ListBoxItem>
                </toolkit:ListPicker>
            </StackPanel>
            <StackPanel Grid.Row="2" Orientation="Horizontal">
                <TextBlock  Text="Net Worth" Margin="0,10,0,0" FontSize="25" Width="130" />
                <toolkit:ListPicker   x:Name="ListPicker2" Width="200" Margin="58,0,0,0">
                    <ListBoxItem Content="LessThan$100,000" ></ListBoxItem>
                    <ListBoxItem Content="$100,000-$300,000" ></ListBoxItem>
                    <ListBoxItem Content=">$300,000" ></ListBoxItem>
                </toolkit:ListPicker>
            </StackPanel>


            <StackPanel Orientation="Horizontal" Grid.Row="3">
                <TextBlock  Text="Risk Tolerance" Margin="0,10,0,0" FontSize="25" Width="163" />
                <toolkit:ListPicker  x:Name="ListPicker3" Width="200" Margin="25,0,0,0">
                    <ListBoxItem Content="LowTolerance" ></ListBoxItem>
                    <ListBoxItem Content="MediumTolerance" ></ListBoxItem>
                    <ListBoxItem Content="HighTolerance" ></ListBoxItem>
                </toolkit:ListPicker>
            </StackPanel>
            <TextBlock Grid.Row="5" Height="43" HorizontalAlignment="Left" Margin="14,19,0,0" Name="textBlock1" Text="Identity Theft Level of Concern " VerticalAlignment="Top" Width="356" FontSize="25" />
            <RadioButton Content="Worried" Grid.Row="5" Height="72" HorizontalAlignment="Left" Margin="14,87,0,0" Name="radioButton1" VerticalAlignment="Top" Width="190" IsChecked="true"/>
            <RadioButton Content="NotWorried" Grid.Row="5" Height="72" HorizontalAlignment="Left" Margin="226,87,0,0" Name="radioButton2" VerticalAlignment="Top" />
            <!--<Button Content="Calulate" Grid.Row="5" Height="76" HorizontalAlignment="Left" Margin="104,165,0,0" Name="button1" VerticalAlignment="Top" Width="207" Click="Calculate_Click"/>-->

        </Grid>
    </Grid>
 
    <!--Sample code showing usage of ApplicationBar-->
    <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/Calculator.png" Text="Calculate" Click="ApplicationBarIconButton_Click"/>
            <!--<shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>-->
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>

</phone:PhoneApplicationPage>
